import 'package:rxdart/rxdart.dart';
import 'package:flutter/material.dart';

class ThemModel {
  final BehaviorSubject<ThemData> _subject = BehaviorSubject.seeded(ThemData());

  get stream => _subject.stream;
  get value => _subject.value;

  set setThem(ThemData themData) => {_subject.add(themData)};
}

// ignore: empty_constructor_bodies
class ThemData {
  Color? colors = Colors.black;
  Color? backColor = Colors.blueAccent;

  ThemData({this.colors, this.backColor});
}
